#include "RoComponent.h"
#include "RoModule.h"
#include "RoQuery.h"


RoComponent::RoComponent(RoModule * parent)
{
    // QChildEvent(ChildAdded) must be sent after this object being fully constructed
    setParent(parent);
}


RoModule * RoComponent::parentModule() const
{
    return qobject_cast<RoModule*>(parent());
}
